package com.library.entity;

/**
 * 书籍类别信息（心理类别书籍/恐怖悬疑类）
 */
public class BookCase {

    //类别ID，自增
    private Integer id;
    //类别名称
    private String name;

    public BookCase(Integer id, String name) {
        this.id = id;
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }
}
